package ccgl.com.util.flashreport;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

/**
 * <p>Title: FusionCharts工具类</p>
 * <p>Description: FusionCharts的数据对象Graph的属性成员，该对象对应<set>标签。
 * 		<set>元素是<graph>的子元素，它描述一个数据集，这个数据集决定了图形上的数据。
 * </p>
 * <p>Copyright: Copyright (c) 2012</p>
 * <p>Company: 北京世纪坐标科技有限公司</p>
 * @author alex
 * @version 1.0
 */
@XStreamAlias("set")
public class Set{
	/** 名称 */
	@XStreamAsAttribute
	private String name;
	/** 值 */
	@XStreamAsAttribute
	private String value;
	/** 颜色 */
	@XStreamAsAttribute
	private String color;
	/** 当鼠标停留set元素上显示的提示文本  */
	@XStreamAsAttribute
	private String hoverText;
	/** 单击set元素触发的动作，如打开或跳转的页面的地址，或者是调用JS函数 */
	@XStreamAsAttribute
	private String link;
	/**   */
	@XStreamAsAttribute
	private String showName;
	/**显示图例  */
	@XStreamAsAttribute
	private String label;
	/**显示图例  */
	@XStreamAsAttribute
	private String isSliced;
	/** 线性图的圆点大小   */
	@XStreamAsAttribute
	private String anchorRadius;
	/** 线性图的点形状，几个边   */
	@XStreamAsAttribute	
	private String anchorSides;
	/**
	 * 文字提示显示内容
	 */
	@XStreamAsAttribute
	private String toolText;
	
	public Set(){}
	public Set(String value){
		this.value = value;
	}
	public Set(String name, String value, String color){
		this.name = name;
		this.value = value;
		this.color = color;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * @return the color
	 */
	public String getColor() {
		return color;
	}

	/**
	 * @param color the color to set
	 */
	public void setColor(String color) {
		this.color = color;
	}

	/**
	 * @param hoverText the hoverText to set
	 */
	public void setHoverText(String hoverText) {
		this.hoverText = hoverText;
	}

	/**
	 * @return the hoverText
	 */
	public String getHoverText() {
		return hoverText;
	}
	/**
	 * @return the link
	 */
	public String getLink() {
		return link;
	}
	/**
	 * @param link the link to set
	 */
	public void setLink(String link) {
		this.link = link;
	}
	/**
	 * @return the showName
	 */
	public String getShowName() {
		return showName;
	}
	/**
	 * @param showName the showName to set
	 */
	public void setShowName(String showName) {
		this.showName = showName;
	}
	/**
	 * @return the label
	 */
	public String getLabel() {
		return label;
	}
	/**
	 * @param label the label to set
	 */
	public void setLabel(String label) {
		this.label = label;
	}
	/**
	 * @return the isSliced
	 */
	public String getIsSliced() {
		return isSliced;
	}
	/**
	 * @param isSliced the isSliced to set
	 */
	public void setIsSliced(String isSliced) {
		this.isSliced = isSliced;
	}
	/**
	 * @return the anchorSides
	 */
	public String getAnchorSides() {
		return anchorSides;
	}
	/**
	 * @param anchorSides the anchorSides to set
	 */
	public void setAnchorSides(String anchorSides) {
		this.anchorSides = anchorSides;
	}
	/**
	 * @return the anchorRadius
	 */
	public String getAnchorRadius() {
		return anchorRadius;
	}
	/**
	 * @param anchorRadius the anchorRadius to set
	 */
	public void setAnchorRadius(String anchorRadius) {
		this.anchorRadius = anchorRadius;
	}
	/**
	 * @return the toolText
	 */
	public String getToolText() {
		return toolText;
	}
	/**
	 * @param toolText the toolText to set
	 */
	public void setToolText(String toolText) {
		this.toolText = toolText;
	}
	

}
